package com.Jhu1.service;

import com.Jhu1.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户�? 服务类
 * </p>
 *
 * @author 钟俊辉
 * @since 2025-01-14
 */
public interface IUserService extends IService<User> {
    User findByuserName(String userName);

    void register(String userName, String password, String role);

    void update(User user);

    void updateAvatar(String url);

    void updatePwd(String newPwd);
}
